package day05.demo02;

public class Demo01ArrayOne {
    public static void main(String[] args) {
        int[] Array = new int[3];//动态初始化
        System.out.println(Array);//地址值
        System.out.println(Array[0]);//0
        System.out.println(Array[1]);//0
        System.out.println(Array[2]);//0

        //改变数组当中的内容
        Array[1] = 10;
        Array[2] = 20;
        System.out.println(Array);//地址值
        System.out.println(Array[0]);//0
        System.out.println(Array[1]);//10
        System.out.println(Array[2]);//20
    }
}
